PushButton,
ToolButton,
ToggleButton{
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    line-height: 24px;
    padding: 8px 15px;
    qproperty-normalColor: #606266;
    qproperty-hoverColor: --ThemeColorPrimary;
    qproperty-pressedColor: --ThemeColorDark2;
    qproperty-disabledColor: #a8abb2;
}


PushButton:hover,
ToolButton:hover,
ToggleButton:hover {
    background-color: #ecf5ff;
    border: 1px solid #c6e2ff;
}

PushButton:pressed,
ToolButton:pressed,
ToggleButton:pressed {
    border-color: --ThemeColorPrimary;
}

PushButton:disabled,
ToolButton:disabled,
ToggleButton:disabled {
    background-color: #fff;
    border: 1px solid #e4e7ed;
    color: #a8abb2;
}

PrimaryPushButton,
PrimaryToolButton,
ToggleButton:checked,
ToggleToolButton:checked{
    border-radius: 4px;
    line-height: 24px;
    padding: 8px 15px;
    qproperty-normalColor: #ffffff;
    qproperty-hoverColor: #ffffff;
    qproperty-pressedColor: #ffffff;
    qproperty-disabledColor: #ffffff;
}

PrimaryPushButton,
PrimaryToolButton,
ToggleButton:checked,
ToggleToolButton:checked{
    background-color: --ThemeColorPrimary;
    border: 1px solid #DCDFE6;
}

PrimaryPushButton:hover,
PrimaryToolButton:hover {
    background-color: --ThemeColorLight2;
    border: 1px solid --ThemeColorLight2;
}

PrimaryPushButton:pressed,
PrimaryToolButton:pressed {
    background-color: --ThemeColorDark1;
    border: 1px solid --ThemeColorDark1;
}

PrimaryPushButton:disabled,
PrimaryToolButton:disabled {
    background-color: --ThemeColorLight3;
    border: 1px solid --ThemeColorLight3;
}

SuccessPrimaryPushButton,
SuccessPrimaryToolButton {
    background-color: #67C23A;
    border: 1px solid #67C23A;
}

SuccessPrimaryPushButton:hover,
SuccessPrimaryToolButton:hover {
    background-color: #95d475;
    border: 1px solid #95d475;
}

SuccessPrimaryPushButton:pressed,
SuccessPrimaryToolButton:pressed {
    background-color: #529b2e;
    border: 1px solid #529b2e;
}

SuccessPrimaryPushButton:disabled,
SuccessPrimaryToolButton:disabled {
    background-color: #b3e19d;
    border: 1px solid #b3e19d;
}

WarningPrimaryPushButton,
WarningPrimaryToolButton {
    background-color: #E6A23C;
    border: 1px solid #E6A23C;
}

WarningPrimaryPushButton:hover,
WarningPrimaryToolButton:hover {
    background-color: #f0c57b;
    border: 1px solid #f0c57b;
}

WarningPrimaryPushButton:pressed,
WarnPrimaryToolButton:pressed {
    background-color: #c98a2e;
    border: 1px solid #c98a2e;
}

WarningPrimaryPushButton:disabled,
WarningPrimaryToolButton:disabled {
    background-color: #f7d3a7;
    border: 1px solid #f7d3a7;
}

DangerPrimaryPushButton,
DangerPrimaryToolButton {
    background-color: #F56C6C;
    border: 1px solid #F56C6C;
}

DangerPrimaryPushButton:hover,
DangerPrimaryToolButton:hover {
    background-color: #f9a0a0;
    border: 1px solid #f9a0a0;
}

DangerPrimaryPushButton:pressed,
DangerPrimaryToolButton:pressed {
    background-color: #c45656;
    border: 1px solid #c45656;
}

DangerPrimaryPushButton:disabled,
DangerPrimaryToolButton:disabled {
    background-color: #fab6b6;
    border: 1px solid #fab6b6;
}

InfoPrimaryPushButton,
InfoPrimaryToolButton {
    background-color: #909399;
    border: 1px solid #909399;
}

InfoPrimaryPushButton:hover,
InfoPrimaryToolButton:hover {
    background-color: #b3b6ba;
    border: 1px solid #b3b6ba;
}

InfoPrimaryPushButton:pressed,
InfoPrimaryToolButton:pressed {
    background-color: #707379;
    border: 1px solid #707379;
}

InfoPrimaryPushButton:disabled,
InfoPrimaryToolButton:disabled {
    background-color: #c8cbcf;
    border: 1px solid #c8cbcf;
}


TransparentPushButton,
TransparentToolButton {
    background-color: transparent;
    border: none;
    border-radius: 5px;
    margin: 0;
}

TransparentPushButton:hover,
TransparentToolButton:hover {
    background-color: rgba(0, 0, 0, 9);
    border: none;
}

TransparentPushButton:pressed,
TransparentToolButton:pressed {
    background-color: rgba(0, 0, 0, 6);
    border: none;
}

TransparentPushButton:disabled,
TransparentToolButton:disabled {
    background-color: transparent;
    border: none;
}
